﻿@semy = 0.25
@third = @[1/3]
@fifth = @[1/5]
@sixth = @[1/6]

@canton_scale_cross_x = @[ ( 333 / 768 ) + 0.001 ]
@canton_scale_cross_y = @[ ( 205 / 512 ) + 0.001 ]

@canton_scale_sweden_x = @[ ( 255 / 768 ) + 0.001 ]
@canton_scale_sweden_y = @[ ( 204 / 512 ) + 0.001 ]

@uru_canton_height = 0.556
@NZL_coa_offset = @[3/16] 
@sm_fra = 0.16

@pi = 3.1416


## Germany ##
# Default Germany uses Waifu Universalis' Francia

Germany_Francia_WB_portrait = {
	textured_emblem = {
		texture = "wb_ngf_monarch.dds"
		instance = { scale = { 1.47 1.47 } position = { 0.45 0.6 } }
	}
}
Germany_Francia_republican_WB_portrait = {
	textured_emblem = {
		texture = "wb_ngf_repub.dds"
		instance = { scale = { 1.19 1.19 } position = { 0.53 0.5 } }
	}
}
Germany_Francia_communist_WB_portrait = {
	textured_emblem = {
		texture = "wb_ngf_comm.dds"
		instance = { scale = { 1.2 1.2 } position = { 0.51 0.56 } }
	}
}
Germany_Francia_fascist_WB_portrait = {
	textured_emblem = {
		texture = "wb_ngf_fasch.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.5 0.53 } }
	}
}

GER = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Germany_Francia_WB_portrait" 
    }
}
GER_iron_cross = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}

	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = color2
		color2 = color1
	}
	
	sub = {
        parent = "Germany_Francia_WB_portrait" 
    }
}
GER_modern = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Germany_Francia_republican_WB_portrait" 
    }
}
GER_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "black"

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.66 0.66 } }
	}
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.7 0.7 } }
	}
	
	sub = {
        parent = "Germany_Francia_fascist_WB_portrait" 
    }
}
GER_communist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "red"
		color2 = "yellow"
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.43 0.43 } position = { 0.5 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_hammer_compass_ddr.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow_dark"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.505 }  }	
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	# WB edit
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "black"
		color2 = "red"
		color3 = "yellow"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	sub = {
        parent = "Germany_Francia_communist_WB_portrait" 
    }
}
GER_fascist = {	
	# War ensign with iron cross moved from canton to replace swastika
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_cross_germany_war_ensign.dds"
		color1 = "black"
		color2 = "white"
	}		
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.55 0.55 } position = { @third 0.5 } }
	}	
	
	sub = {
        parent = "Germany_Francia_fascist_WB_portrait" 
    }
}

GER_nihilist = {	
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "teal"
	
	sub = {
        parent = "Germany_Francia_republican_WB_portrait" 
    }
}

### country-specific Germany variants ###

GER_saxon = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "green"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}			
	
	sub = {
        parent = "Germany_Francia_WB_portrait" 
    }
}

GER_saxon_monarchist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "green"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}

	colored_emblem = {
		texture = "ce_shield_saxony.dds"
		color1 = "black"
		color2 = "yellow"
		color3 = "green"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }		
	}				
	
	sub = {
        parent = "Germany_Francia_WB_portrait" 
    }
}

GER_wurttemberg = {		
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "red"
		color2 = "yellow"
	}
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.68 0.68 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_wreath_thin.dds"
		color1 = "green_light"
		color2 = "green"
		color3 = "red"
		instance = { scale = { 0.85 0.85 } position = { 0.5 0.495 } }
	}
	colored_emblem = {
		texture = "ce_wreath_thin.dds"
		color1 = "green"
		color2 = "green"
		color3 = "red"
		instance = { scale = { 0.85 0.85 } position = { 0.5 0.50 } }
	}	
    sub = {
        parent = "sub_WUR_coa" 
        instance = { scale = { 0.7 0.7 } offset = { 0.15 0.15 } }
    }	
	
	sub = {
        parent = "Germany_Swabia_WB_portrait" 
    }
}

### end of country-specific Germany variants ###

## WB originals ##

GER_WB_default = { # WB edit
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Germany_Francia_WB_portrait" 
    }
}

GER_NGF_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}		
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "black"
		instance = { scale = { 0.4 0.5 } position = { 0.15 0.2 } }
	}
	
	colored_emblem = {
		texture = "ce_eagle_doubleheaded_base.dds"
		color1 = "black_light"
		color2 = "black_light"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.18 0.2 } }
	}	
	colored_emblem = {
		texture = "ce_eagle_doubleheaded_austria_claws.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.18 0.2 } }
	}	
	
	sub = {
        parent = "Germany_Francia_WB_portrait" 
    }
}

GER_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "black"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "black"
		color2 = "red"
		instance = { scale = { 0.5 0.4 } position = { 0.2 0.2 } }				
	}

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { scale = { 0.5 0.4 } position = { 0.2 0.22 } }				
	}

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Germany_Francia_WB_portrait" 
    }
}

GER_flag_hole_republic = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}
	
	sub = {
        parent = "Germany_Francia_republican_WB_portrait" 
    }
}

GER_technocracy = {
	# Edwin Redslob's flag proposal

	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_bend_dexter.dds"
		color1 = "white"
	}
	
	sub = {
        parent = "Germany_Francia_republican_WB_portrait" 
    }
}

# South German generic / Waifu Universalis' Swabia

Germany_Swabia_WB_portrait = {
	textured_emblem = {
		texture = "wb_sgf_monarch.dds"
		instance = { scale = { 1.46 1.46 } position = { 0.51 0.505 } }
	}
}
Germany_Swabia_republican_WB_portrait = {
	textured_emblem = {
		texture = "wb_sgf_repub.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.5 0.7 } }
	}
}
Germany_Swabia_communist_WB_portrait = {
	textured_emblem = {
		texture = "wb_sgf_comm.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.6 0.62 } }
	}
}
Germany_Swabia_fascist_WB_portrait = {
	textured_emblem = {
		texture = "wb_sgf_fasch.dds"
		instance = { scale = { 1.64 1.64 } position = { 0.485 0.64 } }
	}
}

GER_SGF = {		
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Germany_Swabia_WB_portrait" 
    }
}

GER_SGF_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}		
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "black"
		instance = { scale = { 0.4 0.5 } position = { 0.15 0.2 } }
	}
	
	colored_emblem = {
		texture = "ce_eagle_doubleheaded_base.dds"
		color1 = "black_light"
		color2 = "black_light"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.18 0.2 } }
	}	
	colored_emblem = {
		texture = "ce_eagle_doubleheaded_austria_claws.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.18 0.2 } }
	}	
	
	sub = {
        parent = "Germany_Swabia_WB_portrait" 
    }
}
GER_SGF_modern = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Germany_Swabia_republican_WB_portrait" 
    }
}
GER_SGF_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "black"

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.66 0.66 } }
	}
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.7 0.7 } }
	}
	
	sub = {
        parent = "Germany_Swabia_fascist_WB_portrait" 
    }
}
GER_SGF_communist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "red"
		color2 = "yellow"
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.43 0.43 } position = { 0.5 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_hammer_compass_ddr.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow_dark"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.505 }  }	
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "black"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	sub = {
        parent = "Germany_Swabia_communist_WB_portrait" 
    }
}
GER_SGF_fascist = {	
	# War ensign with iron cross moved from canton to replace swastika
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_cross_germany_war_ensign.dds"
		color1 = "black"
		color2 = "white"
	}		
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.55 0.55 } position = { @third 0.5 } }
	}	
	
	sub = {
        parent = "Germany_Swabia_fascist_WB_portrait" 
    }
}

GER_SGF_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	sub = {
		parent = "Germany_Swabia_communist_WB_portrait" 
	}
}

GER_SGF_theocracy = {
	pattern = "pattern_lozengy_bend.dds"
	color1 = "blue_light"
	color2 = "white"
	
	colored_emblem = {
		texture = "ce_sun.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.7 0.9 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		color2 = "yellow"
		instance = { scale = { 0.6 0.8 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "wb_ce_virgin_mary.dds"
		color1 = "blue_light"
		color2 = "peach"
		color3 = "yellow"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Germany_Swabia_WB_portrait" 
    }
}

GER_SGF_nihilist = {	
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "teal"
	
	sub = {
        parent = "Germany_Swabia_republican_WB_portrait" 
    }
}

GER_SGF_technocracy = {
	# Edwin Redslob's flag proposal

	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_bend_dexter.dds"
		color1 = "white"
	}
	
	sub = {
        parent = "Germany_Swabia_republican_WB_portrait" 
    }
}

# Prussia Germany 

Germany_Prussia_WB_portrait = {
	textured_emblem = {
		texture = "wb_ger_pru_monarch.dds"
		instance = { scale = { 1.64 1.64 } position = { 0.33 0.75 } }
	}
}

Germany_Prussia_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_ger_pru_repub.dds"
		instance = { scale = { 1.54 1.52 } position = { 0.495 0.73 } }
	}
}

Germany_Prussia_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_ger_pru_comm.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.495 0.675 } }
	}
}

Germany_Prussia_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_ger_pru_fasch.dds"
		instance = { scale = { 1.53 1.53 } position = { 0.57 0.64 } }
	}
}

GER_PRU = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Germany_Prussia_WB_portrait" 
    }
}
GER_PRU_iron_cross = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}

	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = color2
		color2 = color1
	}
	
	sub = {
        parent = "Germany_Prussia_WB_portrait" 
    }
}
GER_PRU_modern = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Germany_Prussia_WB_republican_portrait" 
    }
}
GER_PRU_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "black"

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.66 0.66 } }
	}
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.7 0.7 } }
	}
	
	textured_emblem = {
		texture = "wb_ger_pru_fasch.dds"
		instance = { scale = { 1.53 1.53 } position = { 0.55 0.64 } }
	}
}
GER_PRU_communist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "red"
		color2 = "yellow"
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.43 0.43 } position = { 0.5 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_hammer_compass_ddr.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow_dark"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.505 }  }	
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "black"
		color2 = "red"
		color3 = "yellow"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	sub = {
        parent = "Prussia_WB_communist_portrait" 
    }
}
GER_PRU_fascist = {	
	# War ensign with iron cross moved from canton to replace swastika
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_cross_germany_war_ensign.dds"
		color1 = "black"
		color2 = "white"
	}		
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.55 0.55 } position = { @third 0.5 } }
	}	
	
	sub = {
        parent = "Germany_Prussia_WB_fascist_portrait" 
    }
}

GER_PRU_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	sub = {
		parent = "Prussia_WB_communist_portrait" 
	}
}

GER_PRU_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "black"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "black"
		color2 = "red"
		instance = { scale = { 0.5 0.4 } position = { 0.2 0.2 } }				
	}

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
		instance = { scale = { 0.5 0.4 } position = { 0.2 0.22 } }				
	}
	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.35 0.3 } position = { 0.17 0.215 } }
	}

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Germany_Prussia_WB_portrait" 
    }
}

GER_PRU_communist_autocratic = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "red"
		color2 = "yellow"
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.43 0.43 } position = { 0.5 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_hammer_compass_ddr.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow_dark"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.505 }  }	
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "black"
		color2 = "red"
		color3 = "yellow"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	sub = {
        parent = "Germany_Prussia_WB_communist_portrait" 
    }
}

GER_PRU_nihilist = {	
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "teal"
	
	sub = {
        parent = "Prussia_WB_technocracy_portrait" 
    }
}

GER_PRU_technocracy = {
	# Edwin Redslob's flag proposal

	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_bend_dexter.dds"
		color1 = "white"
	}
	
	sub = {
        parent = "Prussia_WB_technocracy_portrait" 
    }
}
GER_PRU_monarchy_technocracy = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Prussia_WB_technocracy_portrait" 
    }
}
GER_PRU_communist_technocracy = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "red"
		color2 = "yellow"
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.43 0.43 } position = { 0.5 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_hammer_compass_ddr.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow_dark"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.505 }  }	
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "black"
		color2 = "red"
		color3 = "yellow"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	sub = {
        parent = "Prussia_WB_technocracy_portrait" 
    }
}

# Austria Germany

Germany_Austria_WB_portrait = {
	textured_emblem = {
		texture = "wb_ger_aus_monarch.dds"
		instance = { scale = { 1.53 1.53 } position = { 0.505 0.57 } }
	}
}

GER_austrian = { # German Confederation
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.33 0.5 } position = { @[third/2] @semy } }
	}

	colored_emblem = {
		texture = "ce_eagle_double_headed.dds"
		color1 = "black"
		color2 = "yellow_dark"
		color3 = "white"		
		instance = { scale = { @[uru_canton_height*0.9] @[uru_canton_height*0.9] } position = { 0.175 0.24 } }
	}
	
	colored_emblem = {
		texture = "ce_eagle_doubleheaded_austria_claws.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.18 0.24 } }
	}	
	colored_emblem = {
		texture = "ce_shield_german_round_fess.dds"
		color1 = "red"
		color2 = "white"
		instance = { scale = { 0.16 0.16 } position = { 0.18 0.24 } }		
	}
	
	sub = {
        parent = "Germany_Austria_WB_portrait" 
    }
}

GER_Austria = {
	# WB note - Austria formed Germany 

	pattern = "pattern_solid.tga"
	color1 = "yellow"

    sub = {
        parent = "sub_AUS_crown" 
        instance = { scale = { 0.45 0.45 } offset = { 0.275 0.05 } }
    }
    sub = {
        parent = "sub_AUS_coa" 
        instance = { scale = { 0.9 0.9 } offset = { 0.05 0.1 } }
    }	

	sub = {
        parent = "Germany_Austria_WB_portrait" 
    }
}

GER_iron_cross_Austria = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = color2
		color2 = color1
	}
	
	sub = {
        parent = "Germany_Austria_WB_portrait" 
    }
}
GER_modern_Austria = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Austria_WB_republican_new_portrait" 
    }
}
GER_dictatorship_Austria = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "black"

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.66 0.66 } }
	}
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.7 0.7 } }
	}
	
	sub = {
        parent = "Austria_WB_fascist_portrait" 
    }
}
GER_communist_Austria = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "yellow"
		color2 = "red"
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.43 0.43 } position = { 0.5 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_hammer_compass_ddr.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow_dark"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.505 }  }	
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "black"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	sub = {
        parent = "Austria_WB_communist_new_portrait" 
    }
}
GER_fascist_Austria = {	
	# War ensign with iron cross moved from canton to replace swastika
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_cross_germany_war_ensign.dds"
		color1 = "black"
		color2 = "white"
	}		
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.55 0.55 } position = { @third 0.5 } }
	}	
	
	sub = {
        parent = "Austria_WB_fascist_portrait" 
    }
}

GER_theocracy_Austria = {
	pattern = "pattern_lozengy_bend.dds"
	color1 = "blue_light"
	color2 = "white"
	
	colored_emblem = {
		texture = "ce_sun.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.7 0.9 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		color2 = "yellow"
		instance = { scale = { 0.6 0.8 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "wb_ce_virgin_mary.dds"
		color1 = "blue_light"
		color2 = "peach"
		color3 = "yellow"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Germany_Austria_WB_portrait" 
    }
}

GER_nihilist_Austria = {	
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "teal"
	
	sub = {
        parent = "Austria_WB_republican_new_portrait" 
    }
}

GER_technocracy_Austria = {
	# Edwin Redslob's flag proposal

	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_bend_dexter.dds"
		color1 = "white"
	}
	
	sub = {
        parent = "Austria_WB_republican_new_portrait" 
    }
}



# Austria-Hungary Germany

Germany_Austria_Hungary_WB_portrait = {
	textured_emblem = {
		texture = "wb_ger_hun_monarch.dds"
		instance = { scale = { 1.525 1.525 } position = { 0.23 0.72 } }
	}
	textured_emblem = {
		texture = "wb_ger_aus_monarch.dds"
		instance = { scale = { 1.525 1.525 } position = { 0.7 0.575 } }
	}
}

GER_austro_hungarian = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.33 0.5 } position = { @[third/2] @semy } }
	}

	colored_emblem = {
		texture = "ce_eagle_double_headed.dds"
		color1 = "black"
		color2 = "yellow_dark"
		color3 = "white"		
		instance = { scale = { @[uru_canton_height*0.9] @[uru_canton_height*0.9] } position = { 0.175 0.24 } }
	}
	
	colored_emblem = {
		texture = "ce_eagle_doubleheaded_austria_claws.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.18 0.24 } }
	}	
	colored_emblem = {
		texture = "ce_shield_german_round_fess.dds"
		color1 = "red"
		color2 = "white"
		instance = { scale = { 0.16 0.16 } position = { 0.18 0.24 } }		
	}
	
	sub = {
        parent = "Germany_Austria_Hungary_WB_portrait" 
    }
}

GER_austro_hungarian_absolute_monarchy = {
	# WB note - Austria formed Germany 

	pattern = "pattern_solid.tga"
	color1 = "yellow"

    sub = {
        parent = "sub_AUS_crown" 
        instance = { scale = { 0.45 0.45 } offset = { 0.275 0.05 } }
    }
    sub = {
        parent = "sub_AUS_coa" 
        instance = { scale = { 0.9 0.9 } offset = { 0.05 0.1 } }
    }	

	sub = {
        parent = "Germany_Austria_Hungary_WB_portrait" 
    }
}

GER_iron_cross_austro_hungarian = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}

	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = color2
		color2 = color1
	}
	
	sub = {
        parent = "Germany_Austria_Hungary_WB_portrait" 
    }
}
GER_modern_austro_hungarian = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Austria_Hungary_WB_republican_portrait" 
    }
}
GER_dictatorship_austro_hungarian = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "black"

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.66 0.66 } }
	}
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.7 0.7 } }
	}
	
	sub = {
        parent = "Austria_Hungary_WB_fascist_portrait" 
    }
}
GER_communist_austro_hungarian = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "yellow"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.43 0.43 } position = { 0.5 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_hammer_compass_ddr.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow_dark"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.505 }  }	
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "black"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	sub = {
        parent = "Austria_Hungary_WB_communist_portrait" 
    }
}
GER_fascist_austro_hungarian = {	
	# War ensign with iron cross moved from canton to replace swastika
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_cross_germany_war_ensign.dds"
		color1 = "black"
		color2 = "white"
	}		
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.55 0.55 } position = { @third 0.5 } }
	}	
	
	sub = {
        parent = "Austria_Hungary_WB_fascist_portrait" 
    }
}

GER_theocracy_austro_hungarian = {
	pattern = "pattern_lozengy_bend.dds"
	color1 = "blue_light"
	color2 = "white"
	
	colored_emblem = {
		texture = "ce_sun.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.7 0.9 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		color2 = "yellow"
		instance = { scale = { 0.6 0.8 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "wb_ce_virgin_mary.dds"
		color1 = "blue_light"
		color2 = "peach"
		color3 = "yellow"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Germany_Austria_Hungary_WB_portrait" 
    }
}

GER_nihilist_austro_hungarian = {	
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "teal"
	
	sub = {
        parent = "Austria_Hungary_WB_republican_portrait" 
    }
}

GER_technocracy_austro_hungarian = {
	# Edwin Redslob's flag proposal

	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_bend_dexter.dds"
		color1 = "white"
	}
	
	sub = {
        parent = "Austria_Hungary_WB_republican_portrait" 
    }
}

# Bavaria Germany

Germany_Bavaria_WB_portrait = {
	textured_emblem = {
		texture = "wb_ger_bav_monarch.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.637 0.575 } }
	}
}

GER_bavarian = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "blue_light"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Germany_Bavaria_WB_portrait" 
    }
}

GER_BAV_iron_cross = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "blue_light"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = color1
	}
	
	sub = {
        parent = "Germany_Bavaria_WB_portrait" 
    }
}
GER_BAV_modern = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Bavaria_WB_republican_portrait" 
    }
}
GER_BAV_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "black"

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.66 0.66 } }
	}
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.7 0.7 } }
	}
	
	sub = {
        parent = "Bavaria_WB_fascist_portrait" 
    }
}
GER_BAV_communist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "red"
		color2 = "yellow"
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.43 0.43 } position = { 0.5 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_hammer_compass_ddr.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow_dark"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.505 }  }	
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "red"
		color2 = "red"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	sub = {
        parent = "Bavaria_WB_communist_portrait" 
    }
}
GER_BAV_fascist = {	
	# War ensign with iron cross moved from canton to replace swastika
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_cross_germany_war_ensign.dds"
		color1 = "black"
		color2 = "white"
	}		
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.55 0.55 } position = { @third 0.5 } }
	}	
	
	sub = {
        parent = "Bavaria_WB_fascist_portrait" 
    }
}

GER_BAV_theocracy = {
	pattern = "pattern_lozengy_bend.dds"
	color1 = "blue_light"
	color2 = "white"
	
	colored_emblem = {
		texture = "ce_sun.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.7 0.9 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		color2 = "yellow"
		instance = { scale = { 0.6 0.8 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "wb_ce_virgin_mary.dds"
		color1 = "blue_light"
		color2 = "peach"
		color3 = "yellow"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Germany_Bavaria_WB_portrait" 
    }
}

GER_BAV_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	sub = {
		parent = "Bavaria_WB_communist_portrait" 
	}
}

GER_BAV_nihilist = {	
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "teal"
	
	sub = {
        parent = "Bavaria_WB_republican_portrait" 
    }
}

sub_BAV_lozengy  = { 
	# Wittelsbach Lozengy flag
	
	pattern = "pattern_lozengy_bend.dds"
	color1 = "blue_light"
	color2 = "white"
}

sub_WB_hre_coa = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"

    textured_emblem = {
		texture = "te_hre.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}
}

GER_BAV_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	sub = {
        parent = "sub_BAV_lozengy" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.0 } } # top left
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.5 } } # bottom right
    } 
	sub = {
        parent = "sub_WB_hre_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.0 } } # top right
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.5 } } # bottom left
    }
	
	sub = {
        parent = "Germany_Bavaria_WB_portrait" 
    }
}

GER_BAV_technocracy = {
	# Edwin Redslob's flag proposal

	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_bend_dexter.dds"
		color1 = "white"
	}
	
	sub = {
        parent = "Bavaria_WB_republican_portrait" 
    }
}

# Hanover Germany

Germany_Hanover_WB_portrait = {
	textured_emblem = {
		texture = "wb_ger_han_monarch.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.455 0.585 } }
	}
}

Germany_Hanover_WB_portrait_cry = {
	textured_emblem = {
		texture = "wb_ger_han_monarch_alt.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.455 0.585 } }
	}
}

GER_hanover = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Germany_Hanover_WB_portrait" 
    }
}

GER_HAN_iron_cross = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
	}
	
	sub = {
        parent = "Germany_Hanover_WB_portrait" 
    }
}

GER_HAN_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	sub = {
        parent = "sub_crown" 
        instance = { scale = { 0.5 0.5 } offset = { 0.25 0.03 }  } # top left
		color1 = "yellow"
		color2 = "red"
		color3 = "azure"
		color4 = "white"
		color5 = "red_dark"		
    }	
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.55 } }	
		color1 = "brown"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		instance = { scale = { 0.64 0.64 } position = { 0.5 0.55 } }	
		color1 = "red"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_horse.dds"
		instance = { scale = { 0.48 0.48 } position = { 0.51 0.555 } }	
		color1 = "white"
		color2 = "white"
		color3 = "grey"
	}
	
	sub = {
        parent = "Germany_Hanover_WB_portrait" 
    }
}

GER_HAN_modern = {
	# Flag of Lower Saxony 
	
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		instance = { scale = { 0.86 0.86 } position = { 0.5 0.5 } }	
		color1 = "brown"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		instance = { scale = { 0.84 0.84 } position = { 0.5 0.5 } }	
		color1 = "red"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_horse.dds"
		instance = { scale = { 0.68 0.68 } position = { 0.51 0.505 } }	
		color1 = "white"
		color2 = "white"
		color3 = "grey"
	}
	
	sub = {
        parent = "Hanover_WB_republican_portrait_happy" 
    }
}
GER_HAN_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "black"

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.66 0.66 } }
	}
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.7 0.7 } }
	}
	
	sub = {
        parent = "Hanover_WB_fascist_portrait" 
    }
}
GER_HAN_communist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "red"
		color2 = "yellow"
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.43 0.43 } position = { 0.5 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_hammer_compass_ddr.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow_dark"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.505 }  }	
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "red"
		color2 = "red"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	sub = {
        parent = "Hanover_WB_communist_portrait" 
    }
}
GER_HAN_fascist = {	
	# War ensign with iron cross moved from canton to replace swastika
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_cross_germany_war_ensign.dds"
		color1 = "black"
		color2 = "white"
	}		
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.55 0.55 } position = { @third 0.5 } }
	}	
	
	sub = {
        parent = "Hanover_WB_fascist_portrait" 
    }
}

GER_HAN_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "black"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.5 0.4 } position = { 0.2 0.2 } }				
	}

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
		instance = { scale = { 0.5 0.4 } position = { 0.2 0.22 } }				
	}

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Germany_Hanover_WB_portrait" 
    }
}

GER_HAN_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	sub = {
		parent = "Hanover_WB_communist_portrait" 
	}
}

GER_HAN_nihilist = {	
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "teal"
	
	sub = {
        parent = "Hanover_WB_republican_portrait" 
    }
}

GER_hanover_war = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Germany_Hanover_WB_portrait_cry" 
    }
}

GER_HAN_iron_cross_war = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
	}
	
	sub = {
        parent = "Germany_Hanover_WB_portrait_cry" 
    }
}

GER_HAN_absolute_monarchy_war = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	sub = {
        parent = "sub_crown" 
        instance = { scale = { 0.5 0.5 } offset = { 0.25 0.03 }  } # top left
		color1 = "yellow"
		color2 = "red"
		color3 = "azure"
		color4 = "white"
		color5 = "red_dark"		
    }	
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.55 } }	
		color1 = "brown"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		instance = { scale = { 0.64 0.64 } position = { 0.5 0.55 } }	
		color1 = "red"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_horse.dds"
		instance = { scale = { 0.48 0.48 } position = { 0.51 0.555 } }	
		color1 = "white"
		color2 = "white"
		color3 = "grey"
	}
	
	sub = {
        parent = "Germany_Hanover_WB_portrait_cry" 
    }
}

GER_HAN_modern_war = {
	# Flag of Lower Saxony 
	
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		instance = { scale = { 0.86 0.86 } position = { 0.5 0.5 } }	
		color1 = "brown"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		instance = { scale = { 0.84 0.84 } position = { 0.5 0.5 } }	
		color1 = "red"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_horse.dds"
		instance = { scale = { 0.68 0.68 } position = { 0.51 0.505 } }	
		color1 = "white"
		color2 = "white"
		color3 = "grey"
	}
	
	sub = {
        parent = "Hanover_WB_republican_portrait" 
    }
}
GER_HAN_dictatorship_war = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "black"

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.66 0.66 } }
	}
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.7 0.7 } }
	}
	
	sub = {
        parent = "Hanover_WB_fascist_portrait_cry" 
    }
}
GER_HAN_communist_war = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "red"
		color2 = "yellow"
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.43 0.43 } position = { 0.5 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_hammer_compass_ddr.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow_dark"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.505 }  }	
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "red"
		color2 = "red"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	sub = {
        parent = "Hanover_WB_communist_portrait_cry" 
    }
}
GER_HAN_fascist_war = {	
	# War ensign with iron cross moved from canton to replace swastika
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_cross_germany_war_ensign.dds"
		color1 = "black"
		color2 = "white"
	}		
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.55 0.55 } position = { @third 0.5 } }
	}	
	
	sub = {
        parent = "Hanover_WB_fascist_portrait_cry" 
    }
}

GER_HAN_theocracy_war = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "black"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "black"
		color2 = "red"
		instance = { scale = { 0.5 0.4 } position = { 0.2 0.2 } }				
	}

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { scale = { 0.5 0.4 } position = { 0.2 0.22 } }				
	}

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Germany_Hanover_WB_portrait_cry" 
    }
}

GER_HAN_anarchist_war = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	sub = {
		parent = "Hanover_WB_communist_portrait_cry" 
	}
}

GER_HAN_nihilist_war = {	
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "teal"
	
	sub = {
        parent = "Hanover_WB_republican_portrait_cry" 
    }
}

GER_HAN_dictatorship_alt = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "black"

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.66 0.66 } }
	}
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.7 0.7 } }
	}
	
	sub = {
        parent = "Hanover_WB_fascist_portrait_alt" 
    }
}

GER_HAN_dictatorship_alt_war = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "black"

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.66 0.66 } }
	}
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.7 0.7 } }
	}
	
	sub = {
        parent = "Hanover_WB_fascist_portrait_alt_cry" 
    }
}

GER_HAN_fascist_alt = {	
	# War ensign with iron cross moved from canton to replace swastika
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_cross_germany_war_ensign.dds"
		color1 = "black"
		color2 = "white"
	}		
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.55 0.55 } position = { @third 0.5 } }
	}	
	
	sub = {
        parent = "Hanover_WB_fascist_portrait_alt" 
    }
}

GER_HAN_fascist_alt_war = {	
	# War ensign with iron cross moved from canton to replace swastika
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_cross_germany_war_ensign.dds"
		color1 = "black"
		color2 = "white"
	}		
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.55 0.55 } position = { @third 0.5 } }
	}	
	
	sub = {
        parent = "Hanover_WB_fascist_portrait_alt_cry" 
    }
}

GER_HAN_technocracy = {
	# Edwin Redslob's flag proposal

	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_bend_dexter.dds"
		color1 = "white"
	}
	
	sub = {
        parent = "Hanover_WB_republican_portrait_happy" 
    }
}

GER_HAN_technocracy_war = {
	# Edwin Redslob's flag proposal

	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_bend_dexter.dds"
		color1 = "white"
	}
	
	sub = {
        parent = "Hanover_WB_republican_portrait" 
    }
}

# Schleswig Germany

GER_schleswig = { #Ottfried Neubecker's flag
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_cross_norway.dds"
		color1 = color2
		color2 = color3
	}
	
	
	sub = {
        parent = "Germany_Francia_WB_portrait" 
    }
}

# Hanover Germany

GER_westphalia = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Germany_Francia_WB_portrait" 
    }
}

# Saxe-Weimar Germany

GER_saxe_weimar = { #Hambach Fest flag
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "black"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Germany_Francia_WB_portrait" 
    }
}

# Mecklenburg Germany
# Bismark did say he didn't care if the German flag had the colours of Mecklenburg-Strelitz...

GER_mecklenburg = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Germany_Francia_WB_portrait" 
    }
}

# Saxony Germany

GER_saxony = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "green"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Germany_Francia_WB_portrait" 
    }
}

# Pommerania Germany

GER_pommerania = {
	pattern = "pattern_solid.tga"
	color1 = "light_blue"
	color2 = "white"
	color3 = "black"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Germany_Francia_WB_portrait" 
    }
}



## North German Federation ##

NGF = { # North German Federation
	# WB edit
	
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }
	}	
	textured_emblem  = {
		texture = "te_german_state_crown.dds"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.48 } }	
	}	
	
	sub = {
        parent = "Germany_Francia_WB_portrait" 
    }
}
NGF_absolute_monarchy = {
	# WB edit
	
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_shield_heater_border.dds"
		color1 = "yellow"
		color2 = "black"
		instance = { scale = { 0.9 0.8 } position = { 0.5 0.51 } }
	}	
	colored_emblem = {
		texture = "ce_eagle_double_headed.dds"
		color1 = "black"
		color2 = "orange"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.49 } }
	}
	
	sub = {
        parent = "Germany_Francia_WB_portrait" 
    }
}
NGF_fascist = {		
	# Same as V2 NGF	
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Germany_Francia_fascist_WB_portrait" 
    }
}

# WB originals

NGF_communist = { # Spartacus League flag
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"
	color4 = "yellow"
	
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.5 0.5 } scale = { 0.8 0.8 } } 
	}	
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = color1
		color2 = color1
		instance = { position = { 0.5 0.5 } scale = { 0.75 0.75 } } 
	}
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.5 0.5 } scale = { 0.7 0.7 } } 
	}
	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color1
		color2 = color1
		instance = { position = { 0.5 0.55 } scale = { 0.4 0.4 } } 
	}
	
	sub = {
        parent = "Germany_Francia_communist_WB_portrait" 
    }
}

NGF_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	sub = {
		parent = "Germany_Francia_communist_WB_portrait" 
	}
}

NGF_dictatorship = {			
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Germany_Francia_fascist_WB_portrait" 
    }
}

# Prussia NGF

NGF_PRU = { # North German Federation
	# Actually used the simple tricolor given to GER
	# version with german state crown
	
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }
	}	
	textured_emblem  = {
		texture = "te_german_state_crown.dds"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.48 } }	
	}	
	
	sub = {
        parent = "Germany_Prussia_WB_portrait" 
    }
}
NGF_PRU_absolute_monarchy = {
	# version with prussian eagle
	
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }
	}	
	textured_emblem  = {
		texture = "te_eagle_prussia_monogram_crown.dds"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.52 } }	
	}	
	
	sub = {
        parent = "Germany_Prussia_WB_portrait" 
    }
}

NGF_PRU_communist = { # Spartacus League flag
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"
	color4 = "yellow"
	
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.5 0.5 } scale = { 0.8 0.8 } } 
	}	
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = color1
		color2 = color1
		instance = { position = { 0.5 0.5 } scale = { 0.75 0.75 } } 
	}
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.5 0.5 } scale = { 0.7 0.7 } } 
	}
	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color1
		color2 = color1
		instance = { position = { 0.5 0.55 } scale = { 0.4 0.4 } } 
	}
	
	sub = {
        parent = "Prussia_WB_communist_portrait" 
    }
}

NGF_PRU_dictatorship = {			
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Prussia_WB_fascist_portrait" 
    }
}

NGF_PRU_fascist = {	
	# War ensign with iron cross moved from canton to replace swastika
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_cross_germany_war_ensign.dds"
		color1 = "black"
		color2 = "white"
	}		
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.55 0.55 } position = { @third 0.5 } }
	}	
	
	sub = {
        parent = "Prussia_WB_fascist_portrait" 
    }
}

NGF_PRU_technocracy = { 	
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}	
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.62 0.62 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_hu_berlin.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.53 0.53 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Prussia_WB_technocracy_portrait" 
    }
}
NGF_PRU_monarchy_technocracy = {
	# version with prussian eagle
	
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }
	}	
	textured_emblem  = {
		texture = "te_eagle_prussia_monogram_crown.dds"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.52 } }	
	}	
	
	sub = {
        parent = "Prussia_WB_technocracy_portrait" 
    }
}

NGF_PRU_communist_technocracy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"
	color4 = "yellow"
	
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.5 0.5 } scale = { 0.8 0.8 } } 
	}	
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = color1
		color2 = color1
		instance = { position = { 0.5 0.5 } scale = { 0.75 0.75 } } 
	}
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.5 0.5 } scale = { 0.7 0.7 } } 
	}
	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color1
		color2 = color1
		instance = { position = { 0.5 0.55 } scale = { 0.4 0.4 } } 
	}
	
	sub = {
        parent = "Prussia_WB_technocracy_portrait" 
    }
}

# Hanover NGF

NGF_HAN = { # North German Federation
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }
	}	
	textured_emblem  = {
		texture = "te_german_state_crown.dds"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.48 } }	
	}	
	
	sub = {
        parent = "Germany_Hanover_WB_portrait" 
    }
}
NGF_HAN_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_shield_heater_border.dds"
		color1 = "yellow"
		color2 = "black"
		instance = { scale = { 0.9 0.8 } position = { 0.5 0.51 } }
	}	
	colored_emblem = {
		texture = "ce_eagle_double_headed.dds"
		color1 = "black"
		color2 = "orange"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.49 } }
	}	
	
	sub = {
        parent = "Germany_Hanover_WB_portrait" 
    }
}
NGF_HAN_republic = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Hanover_WB_republican_portrait_happy" 
    }
}
NGF_HAN_communist = { # Spartacus League flag
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"
	color4 = "yellow"
	
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.5 0.5 } scale = { 0.8 0.8 } } 
	}	
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = color1
		color2 = color1
		instance = { position = { 0.5 0.5 } scale = { 0.75 0.75 } } 
	}
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.5 0.5 } scale = { 0.7 0.7 } } 
	}
	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color1
		color2 = color1
		instance = { position = { 0.5 0.55 } scale = { 0.4 0.4 } } 
	}
	
	sub = {
        parent = "Hanover_WB_communist_portrait" 
    }
}
NGF_HAN_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Hanover_WB_fascist_portrait" 
    }
}
NGF_HAN_fascist = {			
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_cross_germany_war_ensign.dds"
		color1 = "black"
		color2 = "white"
	}		
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.55 0.55 } position = { @third 0.5 } }
	}	
	
	sub = {
        parent = "Hanover_WB_fascist_portrait" 
    }
}

NGF_HAN_war = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }
	}	
	textured_emblem  = {
		texture = "te_german_state_crown.dds"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.48 } }	
	}	
	
	sub = {
        parent = "Germany_Hanover_WB_portrait_cry" 
    }
}
NGF_HAN_absolute_monarchy_war = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_shield_heater_border.dds"
		color1 = "yellow"
		color2 = "black"
		instance = { scale = { 0.9 0.8 } position = { 0.5 0.51 } }
	}	
	colored_emblem = {
		texture = "ce_eagle_double_headed.dds"
		color1 = "black"
		color2 = "orange"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.49 } }
	}	
	
	sub = {
        parent = "Germany_Hanover_WB_portrait_cry" 
    }
}
NGF_HAN_republic_war = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Hanover_WB_republican_portrait_cry" 
    }
}
NGF_HAN_communist_war = { # Spartacus League flag
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "blue"
	color4 = "yellow"
	
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.5 0.5 } scale = { 0.8 0.8 } } 
	}	
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = color1
		color2 = color1
		instance = { position = { 0.5 0.5 } scale = { 0.75 0.75 } } 
	}
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.5 0.5 } scale = { 0.7 0.7 } } 
	}
	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = color1
		color2 = color1
		instance = { position = { 0.5 0.55 } scale = { 0.4 0.4 } } 
	}
	
	sub = {
        parent = "Hanover_WB_communist_portrait_cry" 
    }
}
NGF_HAN_dictatorship_war = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Hanover_WB_fascist_portrait_cry" 
    }
}
NGF_HAN_fascist_war = {			
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_cross_germany_war_ensign.dds"
		color1 = "black"
		color2 = "white"
	}		
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.55 0.55 } position = { @third 0.5 } }
	}	
	
	sub = {
        parent = "Hanover_WB_fascist_portrait_cry" 
    }
}

NGF_HAN_dictatorship_alt = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Hanover_WB_fascist_portrait_alt" 
    }
}

NGF_HAN_dictatorship_alt_war = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Hanover_WB_fascist_portrait_alt_cry" 
    }
}

NGF_HAN_fascist_alt = {			
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_cross_germany_war_ensign.dds"
		color1 = "black"
		color2 = "white"
	}		
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.55 0.55 } position = { @third 0.5 } }
	}	
	
	sub = {
        parent = "Hanover_WB_fascist_portrait_alt" 
    }
}

NGF_HAN_fascist_alt_war = {			
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_cross_germany_war_ensign.dds"
		color1 = "black"
		color2 = "white"
	}		
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.55 0.55 } position = { @third 0.5 } }
	}	
	
	sub = {
        parent = "Hanover_WB_fascist_portrait_alt_cry" 
    }
}

## South German Federation ##

SGF = {	
	# Different colour order from Weimar/Modern Germany, but still keeps the 1848 colours (only reordered with Austrian colours paired) adopted by 1866 Austrian led coalition
	
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}

	sub = {
        parent = "Germany_Swabia_WB_portrait" 
    }
	
}
SGF_republic = {	
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.63 0.63 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_reichsadler.dds"
		color1 = "black"
		color2 = "yellow"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.49 } }
	}		
	
	sub = {
        parent = "Germany_Swabia_republican_WB_portrait" 
    }
}
SGF_fascist = {	
	# Mix between the original Jena Students flag (from which the 1848 flag was based) and german fascist designs
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "black"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.62 0.62 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}		
	
	sub = {
        parent = "Germany_Swabia_fascist_WB_portrait" 
    }
	
}

# WB originals

SGF_absolute_monarchy = {		
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}		
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = "black"
		instance = { scale = { 0.4 0.6 } position = { 0.15 0.2 } }
	}
	
	colored_emblem = {
		texture = "ce_eagle_doubleheaded_base.dds"
		color1 = "black_light"
		color2 = "black_light"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.18 0.2 } }
	}	
	colored_emblem = {
		texture = "ce_eagle_doubleheaded_austria_claws.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.18 0.2 } }
	}	
	
	sub = {
        parent = "Germany_Swabia_WB_portrait" 
    }
}

SGF_communist = { 
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "black"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.43 0.43 } position = { 0.5 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_hammer_compass_ddr.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow_dark"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.505 }  }	
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}		
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "black"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	sub = {
        parent = "Germany_Swabia_communist_WB_portrait" 
    }
}

SGF_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_eagle_double_headed.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }				
	}
	
	sub = {
        parent = "Germany_Swabia_communist_WB_portrait" 
    }
}

# SGF Austria

SGF_AUS = {	
	# Different colour order from Weimar/Modern Germany, but still keeps the 1848 colours (only reordered with Austrian colours paired) adopted by 1866 Austrian led coalition
	
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}		
	
	sub = {
        parent = "Germany_Austria_WB_portrait" 
    }
}
SGF_AUS_republic = {	
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.63 0.63 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_reichsadler.dds"
		color1 = "black"
		color2 = "yellow"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.49 } }
	}		
	
	sub = {
        parent = "Austria_WB_republican_new_portrait" 
    }
}
SGF_AUS_fascist = {	
	# Mix between the original Jena Students flag (from which the 1848 flag was based) and german fascist designs
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "black"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.62 0.62 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}		
	
	sub = {
        parent = "Austria_WB_fascist_portrait" 
    }
}

SGF_AUS_absolute_monarchy = {		
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.33 0.5 } position = { @[third/2] @semy } }
	}

	colored_emblem = {
		texture = "ce_eagle_double_headed.dds"
		color1 = "black"
		color2 = "yellow_dark"
		color3 = "white"		
		instance = { scale = { @[uru_canton_height*0.9] @[uru_canton_height*0.9] } position = { 0.175 0.24 } }
	}
	
	colored_emblem = {
		texture = "ce_eagle_doubleheaded_austria_claws.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.18 0.24 } }
	}	
	colored_emblem = {
		texture = "ce_shield_german_round_fess.dds"
		color1 = "red"
		color2 = "white"
		instance = { scale = { 0.16 0.16 } position = { 0.18 0.24 } }		
	}
	
	sub = {
        parent = "Germany_Austria_WB_portrait" 
    }
}

SGF_AUS_communist = { 
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "black"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.43 0.43 } position = { 0.5 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_hammer_compass_ddr.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow_dark"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.505 }  }	
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}		
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "black"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	sub = {
        parent = "Austria_WB_communist_new_portrait" 
    }
}

SGF_AUS_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_eagle_double_headed.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }				
	}
	
	sub = {
        parent = "Austria_WB_bullied_portrait" 
    }
}

# SGF Bavaria

SGF_BAV = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "blue_light"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}		
	
	sub = {
        parent = "Germany_Bavaria_WB_portrait" 
    }
}
SGF_BAV_republic = {	
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "blue_light"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.63 0.63 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_reichsadler.dds"
		color1 = "black"
		color2 = "yellow"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.49 } }
	}		
	
	sub = {
        parent = "Bavaria_WB_republican_portrait" 
    }
}
SGF_BAV_fascist = {	
	# Mix between the original Jena Students flag (from which the 1848 flag was based) and german fascist designs
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "black"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.62 0.62 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}		
	
	sub = {
        parent = "Bavaria_WB_fascist_portrait" 
    }
}

SGF_BAV_absolute_monarchy = {		
	pattern = "pattern_solid.tga"
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "blue_light"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}		
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.4 0.6 } position = { 0.15 0.2 } }
	}
	
	colored_emblem = {
		texture = "ce_eagle_doubleheaded_base.dds"
		color1 = "black_light"
		color2 = "black_light"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.18 0.22 } }
	}	
	colored_emblem = {
		texture = "ce_eagle_doubleheaded_austria_claws.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.18 0.22 } }
	}
	
	sub = {
        parent = "Germany_Bavaria_WB_portrait" 
    }
}

SGF_BAV_communist = { 
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "black"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.43 0.43 } position = { 0.5 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_hammer_compass_ddr.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow_dark"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.505 }  }	
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}		
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "black"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
	
	sub = {
        parent = "Bavaria_WB_communist_portrait" 
    }
}

SGF_BAV_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_eagle_double_headed.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }				
	}
	
	sub = {
        parent = "Bavaria_WB_communist_portrait" 
    }
}




GGR_fascist = {
	# Nazi flag, swastika replaced
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.15 0.6 } position = { 0.5 0.5 } }
		instance = { scale = { 0.4 0.225 } position = { 0.5 0.5 } }		
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.12 0.6 } position = { 0.5 0.5 } }
		instance = { scale = { 0.4 0.18 } position = { 0.5 0.5 } }		
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.08 0.6 } position = { 0.5 0.5 } }
		instance = { scale = { 0.4 0.12 } position = { 0.5 0.5 } }		
	}		
	
	sub = {
        parent = "Germany_Francia_fascist_WB_portrait" 
    }
}